package com.example.jyjava.dao;

import com.example.jyjava.bean.Consent;
import com.example.jyjava.bean.Invn;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface InvnDao {
    public int addInvn(Invn invn);

    public List<Invn> getInvn(@Param("title")String title, @Param("pageStart")int PageStart, @Param("pageSize")int pageSize,@Param("userId") Integer userId);
    public int getInvnCounts(@Param("title")String title,@Param("userId") Integer userId);
    public int getDelete(@Param("id") int id);

    public Invn getIn(@Param("id") int id);
}
